﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain
{
    /// <summary>
    /// 用户与角色关系表
    /// </summary>
    [Table("UserRole")]
    public class UserRole
    {
        /// <summary>
        /// 用户与角色关系表ID
        /// </summary>
        [Key]
        public int userRoleId {  get; set; }
        /// <summary>
        /// 用户信息ID
        /// </summary>
   
        public int userInfoId { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>

        public int roleId { get; set; }
        public bool IsDel {  get; set; }=false;
    }
}
